{% block  headernav %}
<header class="header">
    <a href="{{ site_url(constant('URL_ADMIN'))}}" class="logo">
                <!-- Add the class icon to your logo image or logo icon to add the margining -->
                <img src="{{web_dir()}}/images/logo-admin-neg.png" width="140px" />
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" role="navigation">
                <!-- Sidebar toggle button-->
                <a href="#" target="_self" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <div class="navbar-right">
                    <ul class="nav navbar-nav">
                        <!-- Messages: style can be found in dropdown.less-->
                        <li coc-notifications  options='{"url":"/api/messages_leiloes","time":"10000"}'> </li>
                        <li class="dropdown user user-menu">
                            <a href="#"  target="_self" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="glyphicon glyphicon-user"></i>
                                <span>{{login}} <i class="caret"></i></span>
                            </a>
                            <ul class="dropdown-menu">
                                <!-- User image -->
                                <li class="user-header bg-red">
                                    <img src="public/images/system/avatar.png" class="img-circle" alt="User Image" />
                                    <p>
                                        {{name}} - {{profissao}}
                                        <small>Membro desde de 2014</small>
                                    </p>
                                </li>
                                <!-- Menu Body -->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="#/user/settings/{{user_id}}" class="btn btn-default btn-flat">{{lang_system('profile_btn')}}</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="{{site_url('administrator/logout')}}" class="btn btn-default btn-flat">{{lang_system('logout_btn')}}</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        
{% endblock %}